import { useShopInfoStore } from '@/store/modules/shopInfo'
const { token, id } = useShopInfoStore().getterShopInfo
export default function getheader() {
    const header = {
        'Device-Id': 1,
        'Client-Type': import.meta.env.VITE_CLIENT_TYPE,
        'Shop-Id': id,
        // WECHAT_MINI_APP
        // #ifdef H5
        Platform: 'H5',
        // #endif
        // #ifdef MP-WEIXIN
        //@ts-ignore
        Platform: 'WECHAT_MINI_APP',
        // #endif
        // #ifdef APP-PLUS
        //@ts-ignore
        Platform: 'ANDROID',
        // #endif
        Authorization: token,
    }
    return header
}
